home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19981211-19990422
/
000009_news@newsmaster….columbia.edu _Mon Dec 14 13:10:51 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA07965
for <kermit.misc@watsun.cc.columbia.edu>; Mon, 14 Dec 1998 13:10:50 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id NAA26538
for kermit.misc@watsun; Mon, 14 Dec 1998 13:10:50 -0500 (EST)
Path: news.columbia.edu!watsun.cc.columbia.edu!pepmnt
From: pepmnt@watsun.cc.columbia.edu (John Chandler)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: emacs config
Date: 14 Dec 1998 18:10:48 GMT
Organization: Columbia University
Lines: 30
Message-ID: <753kb8$8fp$1@apakabar.cc.columbia.edu>
References: <36742E71.FAD3F77@inka.de>
NNTP-Posting-Host: watsun.cc.columbia.edu
X-Newsreader: TIN [version 1.2 PL2]
Xref: news.columbia.edu comp.protocols.kermit.misc:9641
Felix E. Klee (felix.klee@inka.de) wrote:
: I use Kermit 3.14 to connect to a remote LINUX machine. However
: when I run emacs 20 some key combinations (page up, page down,
: home, end, etc.) do not work. They are set up correctly in .emacs
: and work when emacs is run in X locally on the remote machine.
You have at least two ways to approach this: you can modify your Kermit
setup to send codes that match what emacs expects, or you can modify
your emacs so that it will accept what Kermit sends. Unfortunately,...
: Extract from my .emacs (all my key combinations are set
: up like this):
: (define-key global-map [home] 'beginning-of-line)
The "[home]" in that example is a keyboard event, rather than a
character code, and it probably doesn't have an equivalent sequence of
keystrokes (in any case, I haven't found one). This fact more-or-less
rules out the first approach. For the second, the details depend on
exactly what codes those keys send. For example, suppose the home key
is sending "\033[H". You can then include the following:
(define-key global-map "\033[" 'ESC-prefix)
(define-key global-map "\033[H" 'beginning-of-line)
You can have multiple definitions in emacs that call out the same
function, so there is no problem in keeping the definitions around
for your various environments simultaneously.
John Chandler